<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>bootstrap-表格</title>
    <!-- 引入boootstrap -->
    <link rel="stylesheet" href="./css/bootstrap.min.css">
</head>
<body>
    <!-- 创建表格 -->
    <table class="table table-striped table-bordered table-hover table-condensed">
        <tr class="active">
            <th>1-1</th>
            <th>2-2</th>
            <th>3-3</th>
            <th>4-4</th>
            <th>5-5</th>
        </tr>
        <tr>
            <td class="active">1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
        <tr>
            <td class="info">1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
        <tr>
            <td class="success">1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
        <tr>
            <td class="warning">1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
        <tr>
            <td class="danger">1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
        <tr class="info">
            <td>1-1</td>
            <td>2-2</td>
            <td>3-3</td>
            <td>4-4</td>
            <td>5-5</td>
        </tr>
    </table>
    <p class="info">对其他元素无效</p>
    <div class="danger">对其他元素无效</div>
</body>
</html>